package com.huatai.common.httputil;

/**
 * @program: ht-system
 * @description:
 * @author: songxiude
 * @create: 2023-04-25 15:55
 **/

import okhttp3.logging.HttpLoggingInterceptor;
import okhttp3.logging.HttpLoggingInterceptor.Level;

public enum LogLevel {
	NONE(Level.NONE),
	BASIC(Level.BASIC),
	HEADERS(Level.HEADERS),
	BODY(Level.BODY);

	private final HttpLoggingInterceptor.Level level;

	public HttpLoggingInterceptor.Level getLevel() {
		return this.level;
	}

	private LogLevel(final HttpLoggingInterceptor.Level level) {
		this.level = level;
	}
}

